package com.basic.business.operationStoreConfig.service;


import com.basic.business.operationStoreConfig.domain.TOperationStoreConfig;
import com.basic.business.store.vo.StoreSimpleDetailRespVo;
import com.basic.common.core.service.IBaseService;

import java.util.List;

/**
 * 运营店铺配置Service接口
 *
 * @author zhaoxy_jn@163.com
 */
public interface ITOperationStoreConfigService extends IBaseService<TOperationStoreConfig> {


    /**
     * 根据配置类型和 部门祖级列表 查询配置信息
     * @param configType
     * @param deptId
     * @param ancestors
     * @return
     */
    TOperationStoreConfig getConfigByTypeAndAncestors(Integer configType,Long deptId,String ancestors);

    /**
     * 根据配置类型和 部门祖级列表 获取店铺列表
     * @param configType
     * @param deptId
     * @param ancestors
     * @return
     */
    List<StoreSimpleDetailRespVo> getStoreSimpleDetailList(Integer configType,Long deptId,String ancestors);
}
